#include <stdio.h>
#include <string.h>
#include "netfn_0x06_cmd_0x3b.h"
#include "ipmi.h"
#include "ipmi_netfn.h"

uint16 SetSessionPrivilegeLevel(uint8* request_data, uint16 request_data_size, uint8* response_data)
{ 
    SetSessionPrivilegeLevelReq* req = (SetSessionPrivilegeLevelReq*)request_data;
    SetSessionPrivilegeLevelRes* res = (SetSessionPrivilegeLevelRes*)response_data;
    res->CompletionCode = CC_NORMALLY;
    uint16 response_data_size = sizeof(SetSessionPrivilegeLevelRes);

    return response_data_size;
}

void init_command(cmd_assigments_t* cmd_assigments)
{
    cmd_assigments->privilege = 0x02;
    cmd_assigments->channel = 0x01;
    cmd_assigments->command_entrance = &SetSessionPrivilegeLevel;
}

